package DiYiZhou2;

import java.util.Scanner;

public class LianXi5 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        System.out.println("请输入三个数字");
        a = scanner.nextInt();
        b = scanner.nextInt();
        c = scanner.nextInt();
        if ((a < b) && (b < c)) {
            System.out.println(a + "<" + b + "<" + c);
        }
        if ((b < c) && (c<a)) {
            System.out.println(b + "<" + c + "<" + a);
        }
        if ((b < a) && (a < c)) {
            System.out.println(b + "<" + a + "<" + c);
        }
        if ((b < c) && (c < a)) {
            System.out.println(b  + "<" + c + "<" + a);
        }
        if ((c < a) && (a < b)) {
            System.out.println(c + "<" + a + "<" + b);
        }
        if ((c < b) && (b < a )) {
            System.out.println(c + "<" + b + "<" + a);
        }
    }
}
